package com.ztgf.shopping.mapper.shop;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.ztgf.shopping.models.bo.shop.ShopContractSettleInBO;
import com.ztgf.shopping.models.dto.shop.ShopContractSettleInDTO;
import com.ztgf.shopping.models.vo.shop.ShopContractSettleInVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * author: chenyu.wang
 * date: 2020-07-10 14:25
 * Description: 商家入驻合同表映射
 */
@Mapper
public interface ShopContractSettleInMapper extends BaseMapper<ShopContractSettleInDTO> {

    /**
     * description: 后台管理系统入驻合同列表
     * param: [page, bo]
     * author: chenyu.wang
     * date: 2020-07-10
     * return: java.util.List<com.ztgf.shopping.models.vo.shop.ShopContractSettleInVO>
     */
    List<ShopContractSettleInVO> queryAdminPageList(Page<ShopContractSettleInVO> page, @Param("item") ShopContractSettleInBO bo);

    /**
     * description: 后台管理系统入驻合同查看详情
     * param: [id]
     * author: chenyu.wang
     * date: 2020-07-10
     * return: com.ztgf.shopping.models.vo.shop.ShopContractSettleInVO
     */
    ShopContractSettleInVO getById(@Param("id") Long id);
}
